package com.tom.constant;

import com.tom.constant.SystemConstant;

/**
 * All rights Reserved, Designed By www.tom.com
 *
 * @version V1.0
 * @Package tom-mail
 * @Description:
 * @author: dengyi
 * @date: 2019/11/4
 * @Copyright: 2019 www.tomonline-inc.com Inc. All rights reserved.
 * 注意：本内容仅限于TOM集团内部传阅，禁止外泄以及用于其他的商业目
 */

public enum ResultEnum {
    SUCCESS(SystemConstant.SUCCESS_CODE, SystemConstant.SUCCESS_MSG),
    ;

    private Integer Code;
    private String message;

    ResultEnum(Integer Code, String message) {
        this.Code = Code;
        this.message = message;
    }

    public Integer getCode() {
        return Code;
    }

    public String getMessage() {
        return message;
    }
}
